home *** CD-ROM | disk | FTP | other *** search
- Path: news.win.tue.nl!not-for-mail
- From: exspectf@wsinis12.win.tue.nl (Richard Braeken)
- Newsgroups: comp.lang.c
- Subject: Solution Serial port Sparc Station -> C program
- Date: 22 Feb 1996 18:01:32 +0100
- Organization: Eindhoven University of Technology, The Netherlands
- Message-ID: <4gi7hc$po7@wsinis12.win.tue.nl>
- References: <4gfhb1$l3e@wsinis12.win.tue.nl>
- NNTP-Posting-Host: wsinis12.win.tue.nl
-
-
- Hello,
-
- I have solved the problem. It is now properly working. The solution
- turned out to be to replace the following lines
-
- bla.c_iflag = 0;
- bla.c_cflag = CS8 | CSTOPB | CLOCAL;
-
- by
-
- bla.c_lflag &= ~(ECHO | ICANON | IEXTEN | ISIG);
- bla.c_iflag &= ~(BRKINT | ICRNL | INPCK | ISTRIP | IXON);
- bla.c_cflag &= ~(CSIZE | PARENB);
- bla.c_cflag |= (CS8 | CSTOPB | CLOCAL);
-
- You just have know it.
-
- Thanks to anybody who tried to help me.
-
-
- Richard
- --
- Richard Braeken | Ura ni wa ura ga aru
- more info: | The reverse sight has a reverse side
- finger exspectf@win.tue.nl | (Japanese saying)
-